import { Route, Switch } from "react-router-dom";

import Home from "./views/Home";
import About from "./views/About";

export default function App() {
  return (
    <div>
      <h1>App</h1>

      <hr />

      <Switch>
        <Route path="/about" component={About} />

        <Route path="/" component={Home} />
      </Switch>
    </div>
  );
}
